home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 05.zip / BS1 part 5 / SASC_6.0_Disk_4.adf / Compiler_Headers / Include / clib / layers_protos.h < prev    next >
C/C++ Source or Header  |  1992-07-30  |  3KB  |  67 lines

  1. #ifndef  CLIB_LAYERS_PROTOS_H
  2. #define  CLIB_LAYERS_PROTOS_H
  3. /*
  4. **    $Filename: clib/layers_protos.h $
  5. **    $Release: 2.04 Includes, V37.4 $
  6. **    $Revision: 1.6 $
  7. **    $Date: 90/12/09 $
  8. **
  9. **    C prototypes. For use with 32 bit integers only.
  10. **
  11. **    (C) Copyright 1990-1991 Commodore-Amiga, Inc.
  12. **        All Rights Reserved
  13. */
  14. #ifndef  EXEC_TYPES_H
  15. #include <exec/types.h>
  16. #endif
  17. #ifndef  GRAPHICS_LAYERS_H
  18. #include <graphics/layers.h>
  19. #endif
  20. #ifndef  GRAPHICS_CLIP_H
  21. #include <graphics/clip.h>
  22. #endif
  23. #ifndef  GRAPHICS_RASTPORT_H
  24. #include <graphics/rastport.h>
  25. #endif
  26. #ifndef  GRAPHICS_REGIONS_H
  27. #include <graphics/regions.h>
  28. #endif
  29. void InitLayers( struct Layer_Info *li );
  30. struct Layer *CreateUpfrontLayer( struct Layer_Info *li, struct BitMap *bm,
  31.     long x0, long y0, long x1, long y1, long flags, struct BitMap *bm2 );
  32. struct Layer *CreateBehindLayer( struct Layer_Info *li, struct BitMap *bm,
  33.     long x0, long y0, long x1, long y1, long flags, struct BitMap *bm2 );
  34. LONG UpfrontLayer( long dummy, struct Layer *layer );
  35. LONG BehindLayer( long dummy, struct Layer *layer );
  36. LONG MoveLayer( long dummy, struct Layer *layer, long dx, long dy );
  37. LONG SizeLayer( long dummy, struct Layer *layer, long dx, long dy );
  38. void ScrollLayer( long dummy, struct Layer *layer, long dx, long dy );
  39. LONG BeginUpdate( struct Layer *l );
  40. void EndUpdate( struct Layer *layer, unsigned long flag );
  41. LONG DeleteLayer( long dummy, struct Layer *layer );
  42. void LockLayer( long dummy, struct Layer *layer );
  43. void UnlockLayer( struct Layer *layer );
  44. void LockLayers( struct Layer_Info *li );
  45. void UnlockLayers( struct Layer_Info *li );
  46. void LockLayerInfo( struct Layer_Info *li );
  47. void SwapBitsRastPortClipRect( struct RastPort *rp, struct ClipRect *cr );
  48. struct Layer *WhichLayer( struct Layer_Info *li, long x, long y );
  49. void UnlockLayerInfo( struct Layer_Info *li );
  50. struct Layer_Info *NewLayerInfo( void );
  51. void DisposeLayerInfo( struct Layer_Info *li );
  52. LONG FattenLayerInfo( struct Layer_Info *li );
  53. void ThinLayerInfo( struct Layer_Info *li );
  54. LONG MoveLayerInFrontOf( struct Layer *layer_to_move,
  55.     struct Layer *other_layer );
  56. struct Region *InstallClipRegion( struct Layer *layer,
  57.     struct Region *region );
  58. LONG MoveSizeLayer( struct Layer *layer, long dx, long dy, long dw, long dh );
  59. struct Layer *CreateUpfrontHookLayer( struct Layer_Info *li, struct BitMap *bm,
  60.     long x0, long y0, long x1, long y1, long flags, struct Hook *hook,
  61.     struct BitMap *bm2 );
  62. struct Layer *CreateBehindHookLayer( struct Layer_Info *li, struct BitMap *bm,
  63.     long x0, long y0, long x1, long y1, long flags, struct Hook *hook,
  64.     struct BitMap *bm2 );
  65. struct Hook *InstallLayerHook( struct Layer *layer, struct Hook *hook );
  66. #endif     /* CLIB_LAYERS_PROTOS_H */
  67.